/**
 * 
 */
package com.idea.auction.constant;

/**
 * @author y.z
 */
public class Const {
	// 错误代码
	public static final String SYS_ERROR_CODE = "-1"; //系统错误
	public static final String ISBLANK_ERROR_CODE = "-2"; //必传参数不能为空
	public static final String SESSIONOUT_ERROR_CODE = "-3"; //用户登录过期
	public static final String OTHER_ERROR_CODE = "-4"; //自定义错误码
	public static final String SUCCESS_CODE = "0";//成功码
	
	//错误消息
	public static final String SYS_ERROR_MSG = "系统错误";
	public static final String ISBLANK_ERROR_MSG = "必传参数不能为空";
	public static final String SESSIONOUT_ERROR_MSG = "用户登录过期";
	public static final String SUCCESS_MSG = "数据获取成功";
	public static final String UPDATE_SUCCESS_MSG = "修改成功";
	public static final String ADD_SUCCESS_MSG = "添加成功";
	
	public static final int PAGE_SIZE = 10;
}
